package com.ruibang.glass.portal.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 1 * @类：
 * 2 * @开发者: HuangLiBin
 * 3 * @时间 2022/11/24 11:17
 */
@Data
public class GlobalUser  implements Serializable {

    private static final long serialVersionUID = 6185959447242168108L;
    @ApiModelProperty("登录IP地址")
    private String ipAddress;
    @ApiModelProperty("用户Id")
    private String userId;
    @ApiModelProperty("登录名称")
    private String loginName;
    @ApiModelProperty("姓名")
    private String name;
    @ApiModelProperty("部门Id")
    private String deptId;
    @ApiModelProperty(name = "产线")
    private String productLineId;
    @ApiModelProperty(name = "产线名称")
    @TableField(exist = false)
    private String productLineName;
    @ApiModelProperty("角色Id")
    private List<String> roleIds;
    @ApiModelProperty("用户类型，1:PC登录，2:APP登录")
    private String userType;
}
